package com.sina.shop.dao.card;

import com.sina.shop.core.BaseDao;
import com.sina.shop.domain.card.Card;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description: 购物车管理
 * 段浩杰   2018-02-05-10:40
 */
public interface CardDao extends BaseDao {

    //根据用户id得到购物车记录
    List<Card> getCardListByAdminId(Long adminId);

    //删除购物车记录
    Integer deleteCard(Long id);
}
